package com.zengfa.task.server.dao;

import java.util.List;

import com.zengfa.task.api.enums.JobStatus;
import com.zengfa.task.server.domain.entity.JobNode;

public interface JobNodeDao {

	void save(JobNode jobNode);
	
	List<JobNode> listByJobId(String jobId);
	
	void updateById(JobNode jobNode);
	
	boolean updateByIdAndStatus(JobNode jobNode, JobStatus beforeStatus);
	
}
